Interactions of two and three mesons including higher partial waves from lattice QCD