Hanwha Group's bid to buy the insolvent German manufacturer Q-Cells SE drew a competing approach from a Spanish power-plant builder that also wants to own what was once the biggest solar-cell maker.