If Gay Marriage didn't become Law of the Land, thanks to the Supreme Court, Trump never would have gotten the nomination, because most likely he would have come out in support of gay marriage, which would have killed him with social conservatives.
But once the issue was taken off the table, Trump didn't have to address it.