Hungary’s announcement on Thursday that it would withdraw from the International Criminal Court drew attention to the judicial body and raised questions about its reach.