Theo Epstein, the general manager of the Boston Red Sox who helped the team win its first World Series in 86 years, unexpectedly quit during contract negotiations.