Select > Convert Selection > To UV Perimeter

Converts the current component selection (vertices, UVs, edges, or faces) to a border of UVs along its perimeter.

Note: This command is also available from the polygon marking menu. ( + -click whenever a polygon component is selected.)