With Trump and his followers repeatedly using ‘low IQ’ as an attack line in this election, Roisin Lanigan explores the ploy of invoking an intelligence scale born of eugenics and racism