Leftist Mexican candidate files legal challenge to presidential election