database: Export _notmuch_database_find_parent_id for internal use.