Enhanced topological protection in planar quasi-one-dimensional channels with periodically modulated width