If a person is homosexual by nature - that is if one's sexuality is as intrinsic a part of one's identity as gender or skin color - then society can no more deny a gay person access to the secular rights and religious sacraments because of his homosexuality than it can reinstate Jim Crow.
One great object of the Constitution was to restrain majorities from oppressing minorities or encroaching upon their just rights.