[native] update olm session creation code use EncryptedData
Summary:
Context in ENG-7228.
Depends on D11450
Test Plan:
This is the last diff in the stack - where I tested everything end-to-end:
- Logged to Identity on clients A and B
- Create an outbound session on client A with client B.
- Send a couple of messages from A to B.
- Verify that messages are decrypted on B before B sends anything to A.
- Send a couple of encrypted messages from B to A just in case and make sure it's decrypted correctly.
Tested multiple combinations, (native <> native, native <> web, web <> native).
Reviewers: michal, marcin
Reviewed By: marcin
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11451