“The Music Man” revival starring Hugh Jackman and Sutton Foster will close on Broadway in January 2023.