Two Birds with One Stone: Concurrent Ligand Removal and Carbon Encapsulation Decipher Thickness-Dependent Catalytic Activity