Dissecting cold gas in a high-redshift galaxy using a lensed background quasar ?