The U.S. lawsuit clouds the future of American Airlines, which had planned to emerge from bankruptcy soon.