Bid to retain Ripon Spa Baths for community use fails