Germany’s biggest stocks have left European peers trailing this year as they escaped the grips of a dour domestic economy.