Johnson, the latest Republican nominee for House speaker, led an amicus brief in support of a Texas lawsuit seeking to overturn Joe Biden’s 2020 victory in four battleground states.