Emmanuel Macron told Israel that “nothing justifies the continuation of the war in Gaza ” as he formally recognised a Palestinian state at a UN summit in New York.