DSTextInput: Add a TextInput API to get current TextInput window