Financial and economic problems at home as well as diplomatic tradeoffs are crimping Beijing’s quest for global stature.