Replace Akonadi::invoke with std::invoke
Akonadi::invoke was a C++14-compatible implementation of std::invoke. Now that we have C++17, we can use std::invoke directly.