A charity working to restore a historic manor that once belonged to the son of a Jacobite, an occultist and a legendary rock star has received a £250,000 lotto boost.