A Dual-Perspective Metaphor Detection Framework Using Large Language Models