This looks like it might be another case of
https://bugzilla.redhat.com/show_bug.cgi?id=1259865
ie, you installed sqlite via PackageKit and it didn't mark it as user
installed so when dnf ran it autoremoved it.
You may be able to check your logs and see when and why sqlite was
installed and if you have the fixed libhif.