United flies to Intercontinental. If your bags are checked through to Cancun you should be ok. You will probably leave from a different terminal. If you do, there is an underground train that you can ride to the new terminal.
You will be fine