“Cosmos: A Spacetime Odyssey” comes at a critical moment for a society that is increasingly fragmented.