HEMO, Syria—At 19-years-old, Berivan Ali is already battle-weary.

Four years ago, she joined the war against Islamic State—part of a Kurdish militia allied with the U.S. She has been wounded twice and has shrapnel lodged in her head. During the battle for Raqqa last year, she braved land mines near the front lines.

Now, Ms. Ali is done fighting....