Wars are closing down the window for climate action