Wilson town supervisor resigns from office