Chinese officials promised steady deliveries of groceries to residents of Xi’an, an ancient capital with 13 million people that is under the strictest lockdown of a major Chinese city since Wuhan was shut early last year at the start of the pandemic.