After long negotiations, the chief executive of the World Bank emerged as the EU candidate to succeed Christine Lagarde.