Update extractKeyserverIDFromID so that it returns null for DMs
Summary:
This requires changes in a lot of places because we were assuming that a thread ID is present.
Test Plan: Mostly Flow. Tested some simple scenarios, e.g. sending a message.
Reviewers: inka, bartek
Reviewed By: inka, bartek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D12650