All Luke did was throw the lightsaber a few feet away. You could hear it hit the deck, plus he had it on his belt at the end of the movie. He could have used the force to pull it to himself. My bet is that, since he'd probably never seen force lightning, he didn't know you could deflect it with a lightsaber.