Low-Metallicity Stars and High-Redshift Galaxies Through the Lens of Local Metal-Poor Star-Forming Regions