Previously the `W` menu was only available for brush tools (brush and eraser), it should be available to all tools, thus putting the key map registering function into `km_grease_pencil_paint_mode`. Pull Request: https://projects.blender.org/blender/blender/pulls/129837