Agreement ends a battle Wilson started last year in hopes of improving the retailer’s lagging stock price