Chief executive’s exit comes with the sport on the brink of more expansion and clears way for wisecracking racing chief to shape its future