Manchester United director of football Jason Wilcox has left the club less than three weeks after the sacking of head coach Michael Carrick.