Historic eatery in capital’s theatreland given to heritage charity after changing hands only three times in 228 years