Eduardo Castro-Wright, the vice chairman of Wal-Mart Stores, is to retire from his position next year.