Lupita Nyong’o played the mysterious Maz Kanata in the new “Star Wars” trilogy before starring in “Black Panther.”