I don't mean to be dense, but I don't see what the Fourteenth Amendment has to do with state laws concerning sodomy.
Amendment XIV granted the U.S. Constitution uncontested jurisdiction within sovereign state borders.
Subsequently, Amendment IX now has jurisdiction within state boundaries.