When writing cover letters, it’s best not to mention any facts that could be taken out of context or used against you. Stick to selling points about why you are a strong candidate for the role. Wait until the interview to get into explaining why you were laid off or left your last position.
These conversations are best had as a two-way dialogue when you can explain yourself and address any questions or clarify any concerns.