No, nobody uses the word this way. Not in casual conversation, not colloquially, never. And it is trivially easy to prove.
This definition of racism makes no moral claims.
When people refer to somebody as “racist”, they are almost always making a negative moral claim about that person – claiming that they are immoral for holding these beliefs.
Therefore this cannot be the definition they are using.
Why yes, I did have somebody say this to me with a straight face. Why do you ask?