Simon Garfield examines how railways and wars, among other factors, have fed our dependence on the ticking clock