Sanae Takaichi is poised to become Japan’s first female prime minister after securing the presidency of the ruling Liberal Democratic Party.