Japan’s parliament has formally elected Shigeru Ishiba, head of the governing Liberal Democratic Party, as the country’s new prime minister.