Mexico’s Foreign Ministry has condemned protesters that it said shouted racist comments and distributed anti-migrant leaflets outside its New York consulate last week.