Dan Stevens stars as a writer taunted by the ghost of his dead wife in this grating adaptation of the 1941 play.