Donald Trump’s pick for defense secretary was investigated by California police in 2017 for an alleged sexual assault.