Hussam Abu Safiya's lawyer said the court rejected his release on security grounds despite his deteriorating health; the doctor has denied allegations that he was a senior Hamas operative