Cosmological information in the gravitational lensing of pregalactic H i