train_times_list.c: fix a selection bug

The currently selected row can be greated than the stop time count, as
is the case when there are no future stops in the current day, so check
that the selected row is less than that, otherwise just ignore the
click.