A convicted murderer was put to death in a Louisiana prison using nitrogen gas, the first time the state has used the method as it resumed executions for the first time in 15 years.