The president also voted by mail in 2020 and in a Florida special election in March, even as he has railed against the practice and equated it to cheating.