I doubt very much that different voltages are involved. That would make for a pretty expensive controller/switch.
Instead, I think the motor has dual windings (hence the reason you have two power wires). On low, one is energized and one high, both are. If so, all you need is two relays to...