Rebel Wilson has appeared in court for the start of a defamation trial brought against her by another actress who starred in her directorial debut.