Not really. It's not like a Tennessee court is going to enforce a contract for prostitution made in Nevada. That's why most legal contracts specify the state that will have jurisdiction over it.
This is why we needed the Federal Defense of Marriage Act and why we need a federal amendment.
Good thinking and you are correct!