China's factory activity contracted for the second month in November, but high-tech manufacturing and exports provided support.