Some metals, when heated, become red. If they are heated to even higher temperatures, they become white. Thus "white hot" is "hotter" than "red hot," literally or metaphorically. Since "red hot" is obviously hyperbole to begin with in this context, "white hot" might be considered overdoing it.
Although both mean "very hot," they are not synonyms and you can't always replace "red" with "white."