Hi michelle242, and welcome to Backstage
There’s no way to direct MIDI input at specific tracks or instruments.
At any given time, whether you’re on the samples or MIDI section, a connected MIDI keyboard will always/only play the currently selected instrument on the Sample knob.
But there’s a Wish for exactly this feature for the synths that you can vote on: Dedicated MIDI in/out channels for synths