A Taipei court has upheld the bail of Taiwan People's Party founder Ko Wen-je after prosecutors appealed the decision to release him last week.