Towards High-redshift Cosmology with Lyman-break Galaxies Detected by LSST