Replace a wxGridSizer by a wxFlexGridSize to avoid too large column sizes when not needed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9297