Quantized thermal transport in single-atom junctions