High-energy spin waves in the spin-1 square-lattice antiferromagnet La2NiO4