The actress also stars alongside Amy Poehler and Maya Hawke in “Inside Out 2.”