A Republican state senator who sued Gov. Terry McAuliffe over the governor’s efforts to restore voting rights to felons filed legislation Thursday to automatically grant political rights to certain nonviolent criminals.