Yes, the prisoner is being forced to work against their will, that is definitionally slavery. As for your last point, yes, we need to feed children better at school, that doesn't mean prisoners are too well off. One injustice doesn't justify another.