A harborfront home in the Martha’s Vineyard town of Edgartown has sold for $28.5 million, setting a high mark for the state so far for 2026.