Kenneth Eugene Smith’s execution came after months of legal battles over whether it was constitutional to use nitrogen hypoxia in capital punishment.