German industrial production fell the most since early 2022, evidence of the struggle by Europe’s biggest economy to shake off a multi-year slump.