Atomic line defects and zero-energy end states in monolayer Fe(Te,Se) high-temperature superconductors