China responds to US accusing it of being on ‘wrong side of history’