refactor(cmd): rewrite panel.js to use state machine
Hard cut replacement of implicit state handling with explicit state machine:
- All DOM events dispatch through machine.dispatch() calls
- Single IZUI escape handler delegates to machine.handleEscape() (bug fix #1)
- Concurrent execution guard via EXECUTING state blocking input (bug fix #2)
- Click handlers route through dispatch, no duplicate logic (bug fix #3)
- Param mode Enter works for both item and non-item params (bug fix #4)
- originalTyped reset on all paths via resetAllState action (bug fix #5)
- Mode indicator visibility handled via existing CSS (bug fix #7)
- Backward-compatible _cmdState proxy exposes boolean accessors for tests
- All external behavior preserved (pubsub events, IPC calls, window management)