Hi Paul! A wooden jar with a wooden lid that screws onto the jar sounds like an ambitious project.
If I were to attempt this, I would mark the jar threads with pencil and using a saw to cut out the valleys between the threads. I know I'd have to finish up with carving tools. This would work something like the barley twist lamp we saw on the Forum.
The lid is something else!!! I would plan to make a two piece lid like a canning jar, then using carving tools try to cut matching threads on the inside of the lids rim. Again a pencil layout would be the first step. That's why I think I would need a cylinder, rather than a cap. I suppose threads could be carved inside a cap, but think it would be easier with a cylinder and a separate cap to fit inside like a Mason Jar lid/
I've never seen one of these - That's just my guess of how to do it.
Just looked up "thread chasing" in Google as Chris recommended, and found this PDF. Looks like if you have the speed reducer and the right tool this can be done on the lathe. I didn't look any farther than this PDF, however it lists a source of tools.
http://www.toolsforworkingwood.com/prodimg/ms/pdf/MS-THRDCH.pdf