The building was formally home to Wrexham Council's social services