It does not -- feel free to use any engine you see fit!
I want to say that, for common sense, while you can use anything, this should exclude stuff like Roblox, Fornite, and Mario Maker, which require purchases or external downloads to play. But we haven't had anyone try that yet.
For argument's sake and to expand my answer for you.
If some did make a game in another game, we wouldn't want to ban them or exclude them from the jam; we just most likely wouldn't be able to play it to judge, and the public voting period wouldn't be able to play easily either.