LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling law