Sarah Shourd’s play “The Box” gives audiences a taste of the psychological horrors of solitary confinement and of the humanity of the people routinely subjected to the practice in American prisons.