The next German government faces calls to loosen borrowing rules, slash energy costs and spur innovation. It won’t be easy.