The president threatened to condition federal funding on a voter ID law and water policy changes ahead of a trip to California.