aptirepo: add --timeout option to control the repository lock wait time

The default behavior remains the same, fail right away if the lock
cannot be obtained.