In providing the photograph to The New York Times, the Obama campaign appeared to be trying to divert some attention to the Clintons after a week in which Mr. Obama’s relationship with Mr. Wright has left him facing one of the biggest challenges of his campaign.