Dynamically Tunable Terahertz Emission Enabled by Anomalous Optical Phonon Responses in Lead Telluride