Chinese leader Xi Jinping’s government is promising to drag the economy out of a crisis of confidence aggravated by tensions with Washington, wilting exports, job losses and anxiety among foreign companies about an expanded anti-spying law.