Optimization of Spectral Wavelets for Persistence-Based Graph Classification