Lower Bound for Max-$r$-Lin2 and its Applications in Algorithmics and Graph Theory