After visiting an island brothel in Bangladesh, the novelist was inspired to write an imagined uprising. She explores the radical fictional worlds where women have the power