The Chinese consulate in Manhattan has mobilized community groups to defeat candidates who don’t fall in line with the authoritarian state