[qtcontacts-sqlite] Simplifiy relationship query

Query relationships only for the contacts in a read batch.