You can make sure that your downloaded game is located on your SD card. When you reset your NNID account it shouldn't affect your SD card. To be safe you can remove your SD card before you reset your NNID