Inhomogeneous quantum quenches in the sine-Gordon theory