Stability analysis of state‐time‐dependent nonlinear hybrid dynamical systems