How to get GarageBand on MacOs to recognize external MIDI Device?
I think that the device setting that you are looking for is only for microphone and sound output. You should see a section a little lower that says the number of MIDI devices detected.
So when you start the application, choose the Software Instrument after first connecting the keyboard. When you record, notes hit on the keyboard should appear in the window and play on the speakers.