JK Rowling has been defended by Warner Bros after a question about her was blocked at a ‘Harry Potter’ event.