Chancellor Angela Merkel’s party is headed for defeat on Sunday, months before a national vote on who will replace her.