Symmetry-enforced straight nodal-line phonons