Germany faces its second change of leader in fewer than four years after the head of the centre-right opposition, Friedrich Merz, won Sunday’s election, which saw a surge for a far-right party and a stinging defeat for outgoing chancellor Olaf Scholz.