Wrexham’s markets ‘are vital part of economy’