HONG KONG—Global banks and other financial institutions in Hong Kong are scrambling to find out details of China’s planned imposition of an anti-sanctions law on the city, and trying to understand how it could impact their operations in the financial hub. Beijing adopted a law in June under which individuals or entities involved in making…