Photoinduced expansion of cuprate superconductors: Evidence of strong electron-lattice coupling