doc: move grn_hook documents from groonga.h to Sphinx text