Use input_context (in "legacy mode") to handle input in inventory screen.

Should hopefully workaround some weird SDL input bugs in the cross compiled Windows build.

This also allows the ncurses version to register for mouse events once and keep them registered, as using the mouse won't return an invalid input in the inventory screen.
Add init_interface definition for ncurses