Australian actor Rebel Wilson asked her crisis communications firm to publish a website that accused a producer on her own film of being an "Indian Ghislaine Maxwell", a Sydney court hears.