Marriage equality vote 'almost unthinkable a few years back'