Gaza 'key' to ending violence in Middle East, says UN chief