Arguably slavery never went away, it’s just that the slavery franchise was disguised/rebranded and then extended as social mobility was slowly rolled back.
I think it went away. Capitalism doesn't force anyone to work, you may choose not to participate in the labour market and be homeless.
[1]: There's several good texts exploring how people may have thought at various times in history (because it's all speculation, of course), but one I enjoyed was A Time Travelers Guide to Medieval England.
The tool you mentioned makes a lot of sense for issues that have a clear preference e.g. slavery or not, but I suspect it would show cracks if we start looking at more subjective issues (which I imagine dominate nowadays).
Also, it's not true that a moral relativist must have no values. One can have values while believing they are not objective, but closer to preferences held very strongly.
There are some tools for objectively judging morality aka "good and bad". One is the principle of universality. So an outcome is moral if you can reasonably state that you would be equally happy to be on either side of the table. Slavery generally fails this test, since most people would prefer not to be slaves. Virtually everyone on either side of the slavery divide (slave/free) valued freedom, some of them just didn't value the freedom of other people.