Basically, when using the freehand select, holding cntrl will allow you to draw straight lines.
Added by @radianart https://docs.krita.org/index.php?title=Outline_Selection_Tool&diff=prev&oldid=4578