Pokémon Scarlet and Violet helped Nintendo break records even as gaming struggles