The playwright and scriptwriter on how his new play, about male power in the music industry, has proved accidentally topical