A man convicted of murdering a hitchhiker 30 years ago has become the third person in the United States to be executed by nitrogen gas.