In a post on X, the American pope quoted the revised Catholic teaching on capital punishment that the death penalty attacks the inherent dignity of a human being