China’s factory output rose faster than expected in October and retail sales sped up, as the recovery in the world’s second-largest economy from its Covid-19 slump gathered momentum.