It’s as if Wharton sat down a century ago and wrote the role for her,” director Josie Rourke says of her leading lady.