Strain-based quench detection for a solenoid superconducting magnet