The baryonic and dark matter properties of high-redshift gravitationally lensed disc galaxies