The president’s decision to vote by mail comes as he pushes a sweeping bill to reform balloting nationwide, including restrictions on mail-in voting.