Cuck is a degrading thing to call another man, but its not racist. That inference is your own. 

Personally, I see as an insult meant to infer that a man is weak, so much so that his wife seeks sexual attention elsewhere and the man does not protest.