A Japanese executive took her family's pharmaceutical company public only to face an immediate hostile takeover attempt that tested every strategic instinct she had.