Hide time picker config when time filter isn't enabled

If you select an index with a time field, then open the time picker, then select a different index which doesn't have a time field, the time picker stays open. This change hides the time picker config if the index does not contain a time field.

Closes #1700.