An EasyJet pilot was suspended after his flight flew too close to a mountain while en route to Egypt.