If work doesn't provide value that is higher than minimum wage it is work not worth doing. It is not like we must provide prisoners work. We could offer them free education too instead. And not even pay them for taking it.
It might be worth doing if it’s of psychological or behavioural benefit to the prisoners ie it prevents boredom / fighting / depression, and inculcates an ‘employee state of mind’ (usefulness, discipline, and ‘earn to spend’).