With her, Wharton does something new: She tries to imagine a fate for an extraordinary individual in conventional 1870s society that isn’t ultimately tragic.