It is a theme that has become increasingly familiar during the rapid evolution of American political attitudes toward same-sex marriage: People who learn that a friend or loved one is gay are far more likely to support same-sex marriage, even if they were once adamantly opposed.