With Speech in Egypt, Obama Calculates Risk of Alienating Israel