Most British teachers struggle to tackle racism in the classroom because they are white, female and middle class, new research has suggested.