Femtosecond response of polyatomic molecules to ultra-intense hard X-rays