SMS dit: A Two-Stage AI-Powered Motif Mining Method for Efficient Power System Topological Analysis