Rust seizes the hub to the knuckle here:
Rusting expands the metal, which in turn creates a grip in corresponding hole in the knuckle. It actually rarely seizes via the flange here:
You can see the "mechanism" by watching South Main Auto's video where he uses an Astro air hammer to rotate the hub in a Prius in trying to remove it. From the video you can see the flange is not seized to the knuckle (because it rotates fairly easily) but rather the rim area. Note, I am just mentioning the video as the example to see how what part of the hub usually seizes.
That being said, I use anti seize on BOTH the rim area and flange to be sure, AFTER wire brushing the entire area of the knuckle. I also use a nickle based anti-seize because of it's ability to resist corrosion better and is able to withstand higher temps before breaking down (which is one reason it's used in nuclear reactors).
If you are concerned with the WHEEL seizing to the hub, the main culprit is here:
Where again, rusting (either on the hub or the wheel (or both) expands the metal in the area to cause things to squeeze together. I use the same nickel anti seize there and the surface where it would contact the back of the wheel (to be sure).
Edit - although I (and a lot of other people) use anti seize, something like Fluid Film, etc. mentioned by others would likely work (or limit the seizing) because it would, at least for awhile, prevent the metal from rusting and start the process of expanding and locking itself in.