ITV’s ‘Karen Pirie’ marks a refreshing departure from all the usual crime drama cliches. Katie Rosseinsky speaks to its star about avoiding cosy crime tropes, creating a realistic twentysomething detective and grappling with violence against women on screen