If you check your booking in LH app, go to "Manage my reservation" > "Additional services" > "Baggage" > "See detailed rules for baggage allowance" for outbound and inbound legs and it is stated there which the most significant carrier is.
For example, in my reservation for LX+LO flights it says: "The significant carrier is Swiss International Air Lines (LX)".