China’s economy may still be slowing, but other data offer cause for hope