The disease’s spread in China cast scrutiny on Xi’s leadership, as he was conspicuously absent from the public eye during the early days of the crisis.