Support free-threaded python3.14 (#1224)