Texas church gunman escaped mental facility in 2012 while facing court-martial