The five people, all Mexican nationals, were arrested after a vessel carrying migrants capsized and killed at least three people near San Diego, the authorities said.