The poem reveals the mind-numbing conditions and physically exhausting jobs that were relentlessly inflicted on prisoners in Wilde’s day.