The Supreme Court on Wednesday upheld Kentucky’s method of putting criminals to death by lethal injection, not only clearing the way for Kentucky to resume executions but ending an unofficial moratorium in the 35 other states that have the death penalty.