Graphs with bounded induced distance