The UAE’s position on gay rights is actually surprisingly progressive – and I should know