Lithium Niobate Waveguides for Continuous Wave Terahertz Generation