Antonio Guterres, the United Nations secretary-general, is in Gaza on the final leg of his first visit to Israel and the Palestinian territories.