IQ is just a measure of intelligence mapped back on to a standard distribution with a mean of 100 and SD of 15. The mean equals the median of a standard distribution by definition.
The reality is if you measured absolute intelligence that it would not be a standard distribution (there are more people at the bottom than expected), but it would be close. The reason why is that intelligence is the result of tens of thousands of independent factors (mostly genes).