Poincar\'e series of algebraic links and lattice homology