I'll be blunt here: an interviewer is not a therapist. Sharing even just a fraction of what you have written here will be counterproductive: Keep it simple and short.
Most interviewers will ask the question to determine whether the job at hand is a better fit than the previous. "I prefer not working in a prison" will do this just fine, unless you are applying to another prisons. If there are more questions, just answer them as asked. Again, short data-drive answers are more helpful than long emotional statements.
Instead you should focus on what you actually have learned and accomplished
- Working with difficult people and managing low motivation
- Getting the job done (i.e. food on the table) in extremely challenging conditions.
- Ability to handle high turn over in both staff and management.
I understand that this has been challenging for you but not you managed to see it through which takes a lot of perseverance and strength. Be proud of this and use this to your advantage going forward.