Thailand’s landmark marriage equality bill has been officially written into law, allowing same-sex couples in the country to legally wed.