fix inverted early-out test in Ship::AIGetLeadDir

Thanks to @walterar for noticing this bug.