A musical “block party” in Los Angeles offered a striking contrast to the July Fourth celebration in Washington, D.C., anchored by the president.