add autoload :TransactionState to fix Marshal.load issues

Fixes https://github.com/rails/rails/issues/12790

added autoload :TransactionState