£17m Knaresborough Leisure Centre approved