This isn't very flexible.  How about just returning the isolation level and exporting the `TXN_ISO_*` macros with a `WT_` prefix?