Two Martha’s Vineyard nonprofits will acquire Jackie O’s 304-acre Aquinnah property for $27 million.