Pontefract Almshouse Charities, Richard Thwaite hospital, sale to T.M Barker and Co. Ltd