key command or function to select track(s) with events

You could activate ‘Track Selection Follows Event Selection’

It’s assignable to a Key Command, so you can toggle it.