The president is more confident after talks at Washington between the Treasury secretary and Communist China’s vice premier.