Ridgefield's season ends with state tourney loss