The thing is, you can pray later. Lightning will not strike you down if you miss a prayer or two. In fact, nothing will happen, ever. Go to the toilet and pray. As you are only allowed to leave the flight deck for physiological reasons, who'll know???