On-chip generation and manipulation of quantum states of light in thin-film lithium niobate