[qtcontacts-sqlite] Simplify class declaration for TwoWayContactSyncAdapter

Move functions that have no reference to member data to an anonymous namespace.

Allows a significant simplification of the signature of createUpdateList().