Turkey's president condemns attack on pro-Kurdish party