Alex McLeish’s young Scotland side restricted an experienced Mexican side to a one-goal victory in their final match of the summer tour to the Americas.