JERUSALEM — President Obama and Israeli Prime Minister Benjamin Netanyahu expressed an unusual degree of solidarity Wednesday on a set of shared national security concerns that have divided them in the past, signaling either a turn in their vital, if volatile, relationship or a cool tactical display of diplomatic theater.