Add getDisplaySize() to UIDisplayElement to remove lwjgl dependency

Needed because module UI elements want to resize to a specific place on the window based on window width/height.

Put in UIDisplayElement because it seems the most accessible and I didn't want to create a static util class for it.