[NUI] Add GetLastKeyEvent and GetLastTouchEvent api for Window