California authorities were braced for unrest at Donald Trump's rally, after violence marred an event by the presumptive Republican presidential nominee in New Mexico.