Smith County inmate kills himself hours before court appearance