Optimized Design of a C-Band 100 MeV Electron Linac for Flash Radiotherapy (IPAC 2026)