Khizr Khan, a Muslim whose son, Capt. Humayun Khan, died serving in the U.S. Army in Iraq, endorsed Hillary Clinton while chastising Donald J. Trump for selfishness.