Playwright and scriptwriter John Logan talks to Sarah Hemming about the contrast between film and stage