The defense secretary wants people to watch the death of Nidal Hasan. Opponents see an echo of totalitarian regimes and America’s history of lynchings and public hangings.