It seems that adaptive vsync (disables vsync when FSP drops below monitor refresh rate) if enabled in driver depending how often your FPS dips below monitor refresh rate locks mouse input for about 1-2 seconds.
For now the solution is to forego adaptive vsync for GW2 until either NVidia or ANet fixes this issue (hard to say for me who needs to fix this).