Hosting the first summit of the expanded bloc allowed Putin to project influence in a shifting global order despite Western isolation