Four candidates vying to lead the United Nations have spent hours being grilled about their views on issues from restoring global peace to ending escalating poverty