Deriving Scattering Amplitudes from Hadron Spectra: Novel Quantization Conditions in Lattice QCD and Their Applications