The southern technology hub is shutting down the city center over the weekend, with Chengdu, a large provincial capital in the country’s southwest, taking similar steps to snuff out a fresh wave of infections ahead of October’s twice-a-decade Communist Party gathering.