The suspect in a shooting that killed three people outside a Kurdish cultural centre in Paris told investigators that he wanted “to murder migrants”.