As an organization that has tried to squelch religion, the Communist Party under Mr. Xi is now backing it in ways that echo the approach of strongmen like Vladimir V. Putin of Russia, who use faith to legitimize their rule. Faced with growing social tensions and slowing economic growth, the government is turning to religion to bolster its hold on power.