qapi/schema: Clean up around QAPISchemaEntity.connect_doc()