SC.State: Check isDestroyed in respondsTo to avoid crash.

When using StatechartManager in a view, we were running into a crash in respondsToEvent if the view was destroyed.