Refactor based on code review feedback.

Move all launch detect-related code into extdetail.c, rename it to
launch_detect.c, and significantly simplify the exposed API to just two
functions:
  1) launch_detect_init, which starts the launch_detect thread.
  2) get_launch_detected, which returns a bool indicating whether we
     have detected launch or not.