j4status: Smarter handling of SIGINT

If stdin is a TTY, quit j4status, as the user would expect. Otherwise,
use it as the stop signal for our parent process (e.g. i3bar)

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>