Porsche boss to leave as German sports car faces challenges from tariffs, lower sales in China and EV transition.