World leaders will gather in Egypt next week to confront climate change at a moment of colliding crises: a war in Europe that has upended energy markets, rising global inflation, deep political divisions in many countries and tension between the world’s two greatest polluters, China and the United States.