Senate Republicans blocked legislation that Democrats said would narrow the gender-wage gap, a disparity that took on heightened significance during the pandemic as women disproportionately left the workforce or lost their jobs.