Extraction of hadron interactions above inelastic threshold in lattice QCD