Mexican animal safety authorities confirmed the first case of H5N1 avian influenza in a wild bird on Wednesday, after declaring the country's poultry farms free of the virus earlier in the day.