Discovery of zero-energy bound states at both ends of a one-dimensional atomic line defect