A Supreme Court ruling that recognizes a right to same-sex marriage in all 50 states would reverberate quickly through a Republican presidential field whose leading figures have not yet embraced such change and, in a few cases, have actively fought it.