Lawmakers in the US state of Washington pass a bill legalising gay marriage, making Washington the seventh US state to back the measure.