There are no flights from Cancun, or anywhere else in Mexico, to Belize.
If you decide to fly to Cancun, your best choice would be bus to Chetumal, cross the border to Corozal and take a bus to Belize City.
If your final destination is San Pedro, you can get a flight or water taxi from Corozal.