Research by the World Economic Forum seeks to quantify how nations are dividing resources between women and men—regardless of whether the countries are rich or poor.