[native] Move onTipContainerLayout
Summary:
issue: ENG-8914
Refactoring from class to function
Test Plan: Tested by creating a nux tooltip and displaying it - still works
Reviewers: tomek, will
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D12980