A 48-hour dispersal order has been imposed in parts of Wrexham county after a series of incidents of anti-social behaviour.