The court appearance in Los Angeles comes after Trump and his former lawyer said they would not enforce a prior nondisclosure agreement with Daniels.