They took it becase at least four justices voted to take it, no other reason. Many members of the court (Ginsberg, Souder, Stevens, Breyer) have no regard for precedent, law or tradition whatsoever, but are really just activists who got on the court to advance their un-American agenda.
I've read here that they took this case specifically because the Texas statute excludes heterosexuals.
That is likely. But a 14th amendment decision like that, that adds sexual preference as a new protected class, would be a very unwise decision. Like I said before, that decision will lead to the striking of all anti-gay-marriage laws and amendments to state constitutions, as well as the federal Defense of Marriage Act. It is only a matter of time before some future liberal in a lower court uses that precedent to force states to grant marriage licenses to gays.