A wrong turn after departure put two commercial flights on a collision course at one of the nation’s busiest airports.