The nation’s first female ruler, Njinga earned a reputation for her blend of political and diplomatic skill with military prowess and became an icon of resistance.