Chemically accurate simulation of a polyatomic molecule-metal surface reaction