Peter Kosminsky's compelling drama, which draws on extensive factual research, examines the harsh reality of life for people who join Isis