Pat O’Conner, whose 13-year run as president of Minor League Baseball is the fifth-longest in the organization’s 120-year history, will retire at the end of the year.