Optimal Point-Spread-Function Engineering With Dynamic Optics And Event Cameras