The Redshift Evolution of Rest-UV Spectroscopic Properties in Lyman-break Galaxies at z ∼ 2–4