Charles Leclerc completed a Friday practice double at the Mexico City Grand Prix but Ferrari's strong showing was dampened by Lewis Hamilton suffering a technical issue.