Lackluster global demand for Chinese goods and muted domestic demand have dragged down China’s overall trade.