Parameter-Agnostic Optimization under Relaxed Smoothness