Summit in China reaffirmed the grouping’s global ambitions but a combination of dimming economic fortunes and a lack of shared ideology compromise its vision of challenging Western dominance