Harry Potter author challenges Scotland's new anti-hate laws