Thin-film lithium niobate electro-optic terahertz wave detector