The latest earnings from American Airlines topped analysts’ expectations, but the carrier surprised investors with a disappointing forecast for the current quarter.