The only criminal trial to arise from dozens of sexual assault allegations against Mr. Cosby will likely open with prosecutors painting him as a predator.