A local limit theorem for random walk maxima with heavy tails