functools lru_cache instead of homebrew one
- use
functools.lru_cache
instead of our homebrew lru cache - fixes some wrong type-hints
- renamed
__prepare_datastore_by_topic
to__get_datastore_by_topic
the the introduced changes should work as soon as rdm-software/tsm-datastore-lib!3 is in.