Magnetism-Enhanced Strong Electron-Phonon Coupling in Infinite-Layer Nickelate