China factory activity slows in October amid trade war woes