Trump’s pick to lead the Defense Department changed his account of whether he was drunk during a 2017 encounter investigated as a sexual assault.