China?s parliament unanimously reappointed Xi Jinping as president while installing one of his most trusted allies as vice president, highlighting how little public opposition remains to his rule.