The Mexican Ministry of Foreign Affairs is launching an app that alerts consulates when migrants face detention in the U.S.