Portugal's former prime minister Antonio Guterres is poised to become the next secretary-general of the United Nations following a decisive vote by the Security Council.