Is there a non-bigoted reason to be anti-same-sex-marriage?

Problem with that is:

Suppose somebody’s position is:

Members of X racial/ethnic group of humans are all (or all with very few exceptions) short on mental capacity, childlike, incapable of long-term planning, very bad at abstract thought. We should of course be kind to them and treat them well; but there’s no sense in offering them advanced education, and it would be very bad for society to let them take jobs requiring much of any independent thought. They should each be appointed guardians from a different racial/ethnic group, who can make sure that they’re fed and housed, and decide what work is suitable for the particular individual to do.

Positing that the person who holds this position genuinely holds no animus towards the members of the group they’re so describing and making societal recommendations about: is it not still a bigoted position?