Gunman kills 1, wounds 3 outside Beaumont courthouse