Recollimation boundary layers as X-ray sources in young stellar jets