Andy Street, the managing director of UK department store retailer John Lewis, has stepped down from his role following a 31-year career with the group.