Army Capt. Alivia Stehlik commissioned as an infantry officer from the U.S. Military Academy at West Point, N.Y., graduated from Ranger School and lived a “soldier’s life,” she said, spending long periods in the field before becoming a physical therapist in the service.