Official unemployment reached a 20-year low in December even as Mexico’s economy contracted for the first time since 2021.