Temple University’s Lewis Katz School of Medicine and WellSpan Health agreed to open a regional medical school campus in York County.