[qtcontacts-sqlite] Cache prepared detail queries