Young Germans flocked to opposite ends of the political spectrum in the federal election, rejecting the centre.