A judge is considering whether delusional beliefs about the legal system are enough to prevent a South Carolina prisoner from being executed