doc: move grn_ctx_close() document to Sphinx text from header file

doc: move grn_ctx_close() document to Sphinx text from header file