Midi tracks change when I change my midi instrument

You need to assign the sounds to their own “Parts” in the MX and switch the midi channel of Cubase tracks accordingly.