Casey Stoner secured his second straight MotoGP victory by defeating Andrea Dovizioso in the Japanese Grand Prix.