By flipping a few genders, Marianne Elliott's new London revival turns Sondheim and Furth's classic into a meditation on modern relationships.