BUDAPEST—Six leading candidates vying to stand against Hungarian Prime Minister Viktor Orban jointly announced on Tuesday that if elected they would repudiate two giant Chinese projects—a university campus in the capital and a railway to Belgrade. Hungary’s long-divided opposition is planning to field a single candidate for prime minister to run against nationalist Orban in…