The deal, the second for the aerospace giant in two years, is part of a growing trend among corporate borrowers and lenders in Europe to link financing facilities to the borrower’s achievement of ESG goals.