Sebastian Barry's imbalanced new play, set in a Dublin prison, confirms its writer's gift for finding the holiness in the everyday.