DySLIM: Dynamics Stable Learning by Invariant Measure for Chaotic Systems