It looks like your PIO is configured correctly. I forgot something about the test. You should also disable the IRQ, for example by commenting the line with alt_ic_isr_register(). If the ISR is active, you risk have it read and clear the edge detection register before your main application can see it.
If it still doesn't work, write another application that just reads the edge capture register and regularly prints it on the terminal. As long as this registers stays at 0 and doesn't see anything it's no use trying to get the interrupt to work. It means your problem is somewhere else. Are you sure you really have some rising edges on that PIO's inputs?