A solar farm which could power thousands of homes could be built on farmland on the edge of Blackpool.