Four years after its stunning election to the German parliament, the far-right party Alternative for Germany (AfD) has been largely sidelined during an election campaign in which its favourite scapegoats – migrants, the euro and Chancellor Angela Merkel – no longer topped the agenda.