Phonon-mediated Migdal effect in semiconductor detectors