Apparel maker Dewhirst has been bought out by a management team in a deal that sees the Dewhirst family ending its involvement in the business.