Defense contracts are not subsidies. They are won by competition with the likes of Lockheed. Most of the money won is spent providing the product or service. The profit margins on defense contracts are not nearly large enough to "subsidize" an airline business. Yes, some R&D crosses over but it's no easy trick. Lockheed does not play in the commercial space at all.
Disclosure: Former Boeing Employee.