Before it filled sanctuaries or concert halls, collective Black singing carried coded messages, community, and survival.