Stationary bathtub vortices and a critical regime of liquid discharge