Egypt court upholds jail term for Islamic researcher