The carousel is beloved as a light-hearted attraction, but its storied past includes segregation and a stint in storage.