To track down Team Aqua's leader, fly to Slateport and enter the ferry building—that's where Team Aqua steals the submarine. Then surf toward Sootopolis City. Along the way, you'll come across a strip of dark water you can dive into. Look for a cave entrance, head inside, and you'll find the stolen submarine. Surface there, and you'll be right where you need to be.