The sun is shining on homeowners in less affluent neighborhoods who are discovering they can afford solar energy after all — by leasing rather than buying the panels on their roofs.