Global warming is a looming threat to stability and national security around the world, and militaries should spend some of their ever-expanding budgets on reducing carbon emissions to avoid “climate chaos,” the UN’s top climate official said Tuesday.