Wendy's settles lawsuit with franchisee