American aviation giant faces headwinds in China, where trade war and safety concerns have led airlines to consider rivals.