York County employee seriously injured during prison training incident