port: Rework how port drag-and-drop is handled
Instead of different types for each direction to avoid linking ports of the same direction, we reject the drop early if directions of both ports are the same.
The direction check is easily extendable to also deny links between ports of different media types in the future.