The screen version of Maggie O'Farrell's novel centers on the tragic inspiration behind one of Shakespeare's most enduring classics.