UN urges peaceful settlement of disputes as UN chief points to ‘the horror show in Gaza’