In recent decades, the fastest-growing law firms have hitched a ride to thriving industries. First, it was the banks. Then, it was private equity. Today, it's technology.