House Democrats have secured their best general election result in decades, winning at least 258 seats.