Meth is the hardest drug to kick, and alcohol withdrawal can kill you. If he's addicted to these substances then he's probably not able to just take a break from it. Plus his reasoning was probably severely impaired by all the drugs.
I think that since TB is a very serious, contagious illness, the government should be able to briefly
quarantine people who refuse to take medication. It's an extreme course of action, but in this case I think the public good outweighs the man's individual rights. However, jail isn't the right place for a quarantine. And if jail is the only place that's available, then there needs to be a better quarantine protocol.