Tyrkisk domstol afviser en appel fra Istanbuls borgmester, Ekrem Imamoglu, som forhindrede ham i at stille op til præsidentvalget i 2028.