[native] Remove unused variables
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/D12984