BARCELONA, Spain—Xavi Hernández, the player who personified the attacking style made popular by Barcelona and Spain’s national team, is returning to Camp Nou as the new coach of his struggling boyhood club. Barcelona announced in the early hours of Saturday that Xavi has agreed to a contract through 2024 after the former Spain midfielder was…