Measuring the distance to the black hole candidate X-ray binary MAXI J1348–630 using H i absorption