Yes, as a United Club member you will have access to the LH Business lounges if departing on a Lufthansa operated flight.
Here's the specific rule:
As holder of an eligible Paid Lounge Membership, you have access to any Star Alliance member airline’s Business Class Lounge* at the airport where your flight departs.
https://www.staralliance.com/en/lounge-access-policy