Axion signatures from supernova explosions through the nucleon electric-dipole portal