Observation of the phononic Lamb shift with a synthetic vacuum