UK’s prime minister is one of only two G7 leaders at UN COP29