Electron-lattice interactions strongly renormalize the charge-transfer energy in the spin-chain cuprate Li2CuO2