Antonio Guterres’s successor will be tasked with revitalising an organisation in crisis and facing pressure to reform.