Lufthansa lost its appeal against a court ruling that struck down EU approval of state aid it received during the Covid pandemic.