How can I deactivate the "Enter" key in a given screen?

Add the line 

On "Enter"  process="return.txt"

to your GuiXT script, and create an InputScript "return.txt" that consists of the line

Return

only.