Delta Air Lines’ stock jumped to a 2-year high Thursday, after the air carrier reported earnings that beat forecasts and boosted its full-year outlook.