The ruling Communist Party formally lifts Xi Jinping’s status to China’s most powerful ruler in decades, setting the stage for the authoritarian leader to tighten his grip over the country while pursuing an increasingly muscular foreign policy and military expansion.