BibKnowledge: fix get_kbt_items_for_bibedit

* Uses either libxml2 or lxml depending on which library is present.

* Addresses #1879.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>