A former church hall in a Leeds town will be sold after the council decided it no longer needed the building.