SAN DIEGO — About 15 hours after the New York Yankees locked up one of their biggest homegrown stars in recent memory, the Boston Red Sox watched one of theirs walk away when shortstop Xander Bogaerts agreed to a deal with the San Diego Padres. The deal will pay him $280 million over 11 years, according to a person familiar with the situation.