Wikipedia’s own current article, citing a different source, gives Mexico’s 2,200 km — about 1,400 miles. Same coast, 340 fewer miles, just measured at a coarser resolution. Against the US’s 1,680, that puts the US ahead by ~280 miles.
Measured NOAA’s consistent way, it’s not close at all. NOAA’s coarse “general coastline” for the five US Gulf states totals 1,631 miles (Florida Gulf 770, Louisiana 397, Texas 367, Alabama 53, Mississippi 44). But NOAA’s detailed “tidal shoreline” — every bayou, inlet, tidal river, and island — totals 17,141 miles for the US Gulf, with Louisiana alone at 7,721 and Florida’s Gulf coast at 5,095. Mexico’s Gulf coast is comparatively smooth — long, gentle sweeps around the Bay of Campeche, nothing like the Mississippi Delta’s fractal marsh — so on the fine measure the US wins going away.
The verdict for your debate: with the same ruler on both sides, the US has the greater Gulf coastline — modestly on the coarse measure, overwhelmingly on the detailed one.