The shift of funds out of China is pushing Hong Kong to the top of the global market for initial public offerings (IPO).