Lawyer for 17-year-old says family filed police complaint about hacked phones days before arrest, but investigators ignored it and arrested girl instead