Friedrich Merz says he intends to stay on as the leader of Germany and his party after a string of state election defeats