Cannot remap pan hotkey in UV editor
You are probably adding it in the wrong window context

For the UV Image Editor the  operator is image.view_pan and is supposed to be added in the Image category

There also seems to be an entry for view2d.pan in both the View 2D and View2D Buttons List category

All set to Mouse Middle Press events