A Maryland police officer was shot and killed Wednesday while intervening in a domestic violence dispute, officials said, marking the second police officer killed in the U.S. in just a 12-hour span.