Simulating liquid-vapor phase separation under shear with lattice Boltzmann method