Fix hiding Tool Options widgets when a new window is created
The problem is:
- All the main windows are connected to KoToolManager::toolOptionWidgetsChanged() signal.
- But different main windows do not share the tools.
- Therefore the main windows should check if the signal was emitted by its own tool.
BUG:372110
Fixes T4264