An unused £4.5 million performing arts centre in Hartlepool will open later this year after local councillors agreed to take it over.