The Egyptian queen has fascinated me from childhood, but following the archives led only to ancient gossip and Roman propaganda. Fiction was the way to liberate her from misogynist myth