The home has been bought by the Wordsworth Trust in a move that will preserve the 16th century property as a public attraction.