When long press on (yellow) via points or (white) shaping points, their dialog appears with different actions per type. The via points offer the “Edit” action to rename them.
Long press menu on waypoints works if enable the “Settings | Map | Crosshair placement”.