Use stdscr instead of w_terrain for adjacent query message

Fixes #7055

Write the query message to `stdscr` instead of `w_terrain`.
This is what `debugmsg` does (see output.cpp line 381) and what (indirectly) construction.cpp does when felling a tree (`construct::done_tree`).