Every contract in restraint of the marriage of any person, other than a minor, is void.
N.D.C.C. § 9-08-07