Amazon’s sales in China, its third-biggest market, fell but improved from the last quarter. The company is facing tough competition in China, where local rivals offer cheaper smartphones.