Pilots of a Mexican airliner lined up to land on the wrong runway, narrowly missing a Delta jet readying for takeoff.