The Supreme Court has sent a case involving a gay couple's wedding cake dispute back to lower courts.