The theory of kinks - I. A semi-analytic model of velocity perturbations due to planet-disc interaction