Lucas di Grassi wins a dramatic Mexico City Formula E-Prix after overtaking Pascal Wehrlein just metres before the finish line.